<template>
  <div class="demo">
    <div class="demo-title">基本用法</div>
    <div class="demo-content">
      <Tabs v-model:activeKey="activeKey">
        <Tabs.TabPane key="1" tab="Tab 1">Content of Tab Pane 1</Tabs.TabPane>
        <Tabs.TabPane key="2" tab="Tab 2" force-render>Content of Tab Pane 2</Tabs.TabPane>
        <Tabs.TabPane key="3" tab="Tab 3">Content of Tab Pane 3</Tabs.TabPane>
      </Tabs>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';
  import Tabs from '@sscd/tabs';
  const activeKey = ref('1');
</script>
